<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <input type="text" v-model="name">
    <p>Hello {{name}}</p>
    <p v-text="name"></p>
</div>
<p>{{name}}</p>
<script type="text/javascript" src="../js/vue.js"></script>
<script type="text/javascript">
    //创建Vue实例
    const vm = new Vue({
        el: "#app",
        data: {
            name: "atguigu"
        }
    });
    vm.name = "xfzhang";
</script>
</body>
</html>